<?php

use think\migration\Migrator;
use think\migration\db\Column;

class AlterPlayLogAddOutId extends Migrator
{
    public function up()
    {

        $this->table('pay_log')
            ->addColumn('out_no', 'string', ['limit' => 30, 'default' => '', 'comment' => '出口编号'])
            ->update();


    }

    public function down()
    {
        $this->table('pay_log')
            ->removeColumn('out_no');
    }
}
